# Algorithm to find the sum of a series of numbers. Written of pseudocode of Burden and Faires 
# Numerical Analysis textbook, Chapter 1.3, Example 1. 
#
# Author: Mathieu Boudreau
# Date: July 10th 2014
# Note: This is my first ever Python program - screw the "Hello World!" tradition.

def sumNum(numSeries):
    
    N=len(numSeries)
    totalSum=0
    for x in range(0,N):
        totalSum=totalSum+numSeries[x]
    return totalSum